package de.preissler.insertselection;

import java.util.Map;

import me.prettyprint.cassandra.serializers.DoubleSerializer;
import me.prettyprint.cassandra.serializers.LongSerializer;
import me.prettyprint.cassandra.serializers.StringSerializer;
import me.prettyprint.hector.api.Keyspace;
import me.prettyprint.hector.api.mutation.Mutator;

public interface InsertQuotes
{
	public static final StringSerializer SS = StringSerializer.get();
	public static final LongSerializer LS = LongSerializer.get();
	public static final DoubleSerializer DS = DoubleSerializer.get();
	public static final String OPEN = "open";
	public static final String HIGH = "high";
	public static final String LOW = "low";
	public static final String CLOSE = "close";
	public static final String VOLUME = "volume";
	public static final String CHANGE = "change";
	public static final String QUOTES = "Quotes";

	public void insertQuotes(Map<String, Map<String, Quote>> quotes, Keyspace keyspace, Mutator<String> mutator);
	
	public void deleteQuotes(Map<String, Map<String, Quote>> quotes, Keyspace keyspace, Mutator<String> mutator);
}
